<div class="card-pack-item coupon-item">
  {% if cardDetail.targetType == "course" %}
    <p class="title">此课程优惠券已使用</p>
  {% endif %}
  {% if cardDetail.targetType == "classroom" %}
    <p class="title">此班级优惠券已使用</p>
  {% endif %}

  {% if cardDetail.targetType == "vip" %}
    <p class="title">此会员优惠券已使用</p>
  {% endif %}
  <p class="price">
    {% if cardDetail.type == "minus" %}￥{% endif %}<strong>{{ cardDetail.rate }}</strong>{% if cardDetail.type == "discount" %}折{% endif %}
  </p>
  <p>有效期截止：<span>{{ (cardDetail.deadline)|date('Y年n月d日') }}</span></p>
  <!--优惠劵已使用-->
  <div class="stamp stamp-used"></div>
</div>
